package com.ask.forMe.service;

import com.ask.forMe.model.entity.Score;
import com.baomidou.mybatisplus.extension.service.IService;


public interface ScoreService extends IService<Score> {
    /**
     * 新增或跟新评分
     *
     * @param userId
     * @param itemId
     * @param score
     * @return
     */
    void addOrUpdateScore(Long userId, Long itemId, Double score, int type);
}
